<?php if (!defined('THINK_PATH')) exit();?><div class="breadcrumbs" id="breadcrumbs">
	<script type="text/javascript">
		try{ace.settings.check('breadcrumbs', 'fixed')}catch(e){}
	</script>
	<ul class="breadcrumb">
		<li>
			<i class="ace-icon fa fa-home home-icon"></i>
			<a href="#">Home</a>				
		</li>
		<li class="active"><?php echo ($menu_name); ?></li>
	</ul><!-- /.breadcrumb -->

	<div class="nav-search" id="nav-search">
		<form class="form-search">
			<span class="input-icon">
				<input type="text" placeholder="Search ..." class="nav-search-input" id="nav-search-input" autocomplete="off" />
				<i class="ace-icon fa fa-search nav-search-icon"></i>							
			</span>
		</form>
	</div><!-- /.nav-search -->
</div>

<div class="page-content" id="content_detail">
	<div class="row">
		<div class="col-xs-12">
			<h4 class="pink">
				<i class="ace-icon fa fa-hand-o-right blue"></i>
				<a href="#modal-table" role="button" class="green" data-toggle="modal"> 新增平台 </a>
				
				<i class="ace-icon fa fa-hand-o-right"></i>
				<a href="#" role="button" class="blue"> 删除平台 </a>

			</h4>
			<!-- PAGE CONTENT BEGINS -->
			<div>
				<table id="sample-table-2" class="table table-striped table-bordered table-hover">
					<tbody>
						<tr>
							<td class="center">
								<label class="position-relative">
									<input type="checkbox" class="ace" />
									<span class="lbl"></span>														
								</label>													
							</td>
							<td>平台名称</td>
							<td>平台地点</td>
							<td>平台URL</td>
							<td>风险等级</td>
							<td>状态</td>
							<td>可选操作</td>
						</tr>
						<?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr>
								<td class="center">
									<label class="position-relative">
										<input type="checkbox" class="ace" id="p2p_<?php echo ($vo["id"]); ?>" value="<?php echo ($vo["id"]); ?>"/>
										<span class="lbl"></span>														
									</label>													
								</td>
								<td><?php echo ($vo["name"]); ?></td>
								<td><?php echo ($vo["addr"]); ?></td>
								<td><a href="<?php echo ($vo["url"]); ?>"><?php echo ($vo["url"]); ?></a></td>
								<td><?php echo ($vo["level"]); ?></td>
								<td><?php echo ($vo["is_active"]); ?></td>
								<td>
									<div class="hidden-sm hidden-xs action-buttons">
										<a class="blue" href="#">
											<i class="ace-icon fa fa-search-plus bigger-130"></i>															
										</a>
	
										<a class="green" href="#">
											<i class="ace-icon fa fa-pencil bigger-130"></i>															
										</a>
	
										<a class="red" href="#">
											<i class="ace-icon fa fa-trash-o bigger-130"></i>															
										</a>														
									</div>
									<div class="hidden-md hidden-lg">
										<div class="inline position-relative">
											<button class="btn btn-minier btn-yellow dropdown-toggle" data-toggle="dropdown" data-position="auto">
												<i class="ace-icon fa fa-caret-down icon-only bigger-120"></i>
											</button>
	
											<ul class="dropdown-menu dropdown-only-icon dropdown-yellow dropdown-menu-right dropdown-caret dropdown-close">
												<li>
													<a href="#" class="tooltip-info" data-rel="tooltip" title="View">
														<span class="blue">
															<i class="ace-icon fa fa-search-plus bigger-120"></i>
														</span>																	
													</a>																	
												</li>
	
												<li>
													<a href="#" class="tooltip-success" data-rel="tooltip" title="Edit">
														<span class="green">
															<i class="ace-icon fa fa-pencil-square-o bigger-120"></i>
														</span>																		
													</a>																	
												</li>
	
												<li>
													<a href="#" class="tooltip-error" data-rel="tooltip" title="Delete">
														<span class="red">
															<i class="ace-icon fa fa-trash-o bigger-120"></i>
														</span>																		
													</a>																	
												</li>
											</ul>
										</div>
									</div>													
								</td>
							</tr><?php endforeach; endif; else: echo "" ;endif; ?>
					</tbody>
				</table>
			</div>
			
			<div id="modal-table" class="modal fade" tabindex="-1">
				<div class="modal-dialog">
					<div class="modal-content">
						<div class="modal-header">
							<button type="button" class="close" data-dismiss="modal"> x </button>
							<h4 class="blue bigger">添加网贷平台</h4>
						</div>

						<div class="modal-body">
							<div class="row">
								<div class="col-ms-12">
									<form class="form-horizontal" role="form">
									<div class="form-group">
										<label class="col-sm-3 control-label no-padding-right" for="form-field-1"> Text Field </label>
										<div class="col-sm-9">
											<input type="text" id="form-field-1" placeholder="Username" class="col-xs-10 col-sm-5" />
										</div>
									</div>
									<div class="form-group">
										<label class="col-sm-3 control-label no-padding-right" for="form-field-1"> Text Field </label>
										<div class="col-sm-9">
											<input type="text" id="form-field-1" placeholder="Username" class="col-xs-10 col-sm-5" />
										</div>
									</div>
									<div class="form-group">
										<label class="col-sm-3 control-label no-padding-right" for="form-field-1"> Text Field </label>
										<div class="col-sm-9">
											<input type="text" id="form-field-1" placeholder="Username" class="col-xs-10 col-sm-5" />
										</div>
									</div>
									<div class="form-group">
										<label class="col-sm-3 control-label no-padding-right" for="form-field-1"> Text Field </label>
										<div class="col-sm-9">
											<input type="text" id="form-field-1" placeholder="Username" class="col-xs-10 col-sm-5" />
										</div>
									</div>
									<div>
									<div class="form-group">
										<label class="col-sm-3 control-label no-padding-right" for="form-field-1"> Text Field </label>
										<div class="col-sm-9">
											<input type="file" />
										</div>
									</div>
								</div>
							</div>
						</div>

						<div class="modal-footer">
							<button class="btn btn-sm" data-dismiss="modal">
								<i class="ace-icon fa fa-times"></i>
								取消											
							</button>
							<button class="btn btn-sm btn-primary">
								<i class="ace-icon fa fa-check"></i>
								保存											
							</button>
						</div>
					</div>
				</div>
			</div>
			<!-- PAGE CONTENT ENDS -->
		</div><!-- /.col -->
	</div><!-- /.row -->
</div><!-- /.page-content -->